
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/include/taglib.jsp" %>
<div id="actBusFields">
    <div class="row">
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">店铺名称:</label>
            <div class="col-sm-9">
                <span class="col-xs-11 block input-icon input-icon-right">
                    <input id="merchantName" name="merchantName" type="text"  class="form-control" value="${merchantsAuditEntity.merchantName}" readonly/>
                </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">店主姓名:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="merchantManName" name="merchantManName" type="text"  class="form-control" value="${merchantsAuditEntity.merchantManName}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">手机号:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="phoneNum" name="phoneNum" type="text"  class="form-control" value="${merchantsAuditEntity.phoneNum}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">店铺地址:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="storeAddress" name="storeAddress" type="text"  class="form-control" value="${merchantsAuditEntity.storeAddress}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">其他平台店名:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="otherMerchantName" name="otherMerchantName" type="text"  class="form-control" value="${merchantsAuditEntity.otherMerchantName}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">配送方式:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="modeOfDistribution" name="modeOfDistribution" type="text"  class="form-control" value="${merchantsAuditEntity.modeOfDistribution}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">商家分类:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="merchantGroup" name="merchantGroup" type="text" class="form-control" value="${merchantsAuditEntity.merchantGroup}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">商家营业时间:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="businessHours" name="businessHours" type="text"  class="form-control" value="${merchantsAuditEntity.businessHours}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">餐盒费:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="mealsFee" name="mealsFee" type="text"  class="form-control" value="${merchantsAuditEntity.mealsFee}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">配送范围:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="deliveryArea" name="deliveryArea" type="text"  class="form-control" value="${merchantsAuditEntity.deliveryArea}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">开关店详情:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="isOpen" name="isOpen" type="text"  class="form-control" value="${merchantsAuditEntity.isOpen}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">商家食品安全发证时间:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="bfseTime" name="bfseTime" type="text"  class="form-control" value="${merchantsAuditEntity.bfseTime}" readonly/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-6 col-md-6 ">
            <label class="col-sm-3 control-label no-padding-right">商家食品安全到期时间:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
                <input id="bfscTime" name="bfscTim" type="text"  class="form-control" value="${merchantsAuditEntity.bfscTime}" readonly/>
            </span>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="form-group col-sm-4 col-md-4 ">
            <label class="col-sm-3 control-label no-padding-right">门头照:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow6" src="${merchantsAuditEntity.photoPath1}" width="98" height="98"/>
            </span>
            </div>
        </div>
        <div class="form-group col-sm-4 col-md-4 ">
            <label class="col-sm-3 control-label no-padding-right">店内照:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow5" src="${merchantsAuditEntity.photoPath2}" width="98" height="98"/>            </span>
            </div>
        </div>
        <div class="form-group col-sm-4 col-md-4 ">
            <label class="col-sm-3 control-label no-padding-right">营业执照:</label>
            <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow4" src="${merchantsAuditEntity.photoPath3}" width="98" height="98"/>
            </span>
            </div>
        </div> 
        <div class="form-group col-sm-4 col-md-4 ">
        <label class="col-sm-3 control-label no-padding-right">食品许可证:</label>
        <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow3" src="${merchantsAuditEntity.photoPath4}" width="98" height="98"/>
            </span>
        </div>
   	 	</div> 
   	 	<div class="form-group col-sm-4 col-md-4 ">
        <label class="col-sm-3 control-label no-padding-right">身份证正面照:</label>
        <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow2" src="${merchantsAuditEntity.photoPath5}" width="98" height="98"/>
            </span>
        </div>
    	</div>
    	<div class="form-group col-sm-4 col-md-4 ">
        <label class="col-sm-3 control-label no-padding-right">身份证反面照:</label>
        <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow1" src="${merchantsAuditEntity.photoPath6}" width="98" height="98"/>
            </span>
        </div>
    	</div>
    	<div class="form-group col-sm-4 col-md-4 ">
        <label class="col-sm-3 control-label no-padding-right">菜单上传:</label>
        <div class="col-sm-9">
            <span class="col-xs-11 block input-icon input-icon-right">
            	<img id="imgShow55" src="${merchantsAuditEntity.menuPhoto}" width="98" height="98"/>
            </span>
        </div>
    	</div>
        <img id="imgShow66" width="800" height="800" style="position: absolute;top:50px;left: 150px;display: none;z-index: 20;"/>
    </div>
</div>
<c:if test="${flag == 2}">
    <%@include file="../activiti/processComSub.jsp"%>
</c:if>
<script>
    var str = $('#bfseTime').val();
    var str1 = $('#bfscTime').val();
    var dd = new Date(str1);
        var d = new Date(str);
        var sd = d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate();
        var sd1 = dd.getFullYear() + '-' + (dd.getMonth() + 1) + '-' + dd.getDate();
    $('#bfseTime').val(sd);
    $('#bfscTime').val(sd1);

    $('img').click(function () {
        var src = $(this).attr('src');
        $('#imgShow66').show();
        $("#imgShow66").attr("src",src);
    });
    $('#imgShow66').click(function () {
        $('#imgShow66').hide();
    });
</script>

